﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sisocana.Core.Interfaces;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace Sisocana.Core.Models
{
    public class DonacionBienesModel: DonacionModel, IDonacionBienesModel
    {
        [DisplayName("Product type")]
        [Required(ErrorMessage = "Product type is required")]
        [StringLength(100, MinimumLength = 3, ErrorMessage = "The minimum length is 3 and the maximum length is 100")]
        public string nombreDelBien { get; set; }
        
        [DisplayName("Product quantity")]
        [Required(ErrorMessage = "Product quantity is required")]
        public int cantidadDelBien { get; set; }

        [DisplayName("Description")]
        [Required(ErrorMessage = "Description is required")]
        [StringLength(100, MinimumLength = 3, ErrorMessage = "The minimum length is 3 and the maximum length is 100")]
        public string descripcionDonacion { get; set; }
        
        public DireccionModel direccion { get; set; }
    }
}
